import {
	request
} from "./request";

// 用户输入车牌查询费用
export function getBillingDetailApi(data) {
	return request({
		url: "/record/billing",
		method: "GET",
		data,
	});
}
// 支付接口
export function payBillingApi(data) {
	return request({
		url: "/record/order-pay",
		method: "POST",
		data,
	});
}

// 订单列表;
export function getMyRecord(data) {
	return request({
		url: "/parking/find-my-record",
		method: "GET",
		data,
	});
}
// 获取我的车辆列表
export function getMyCar(data) {
	return request({
		url: "/parking/find-my-car",
		method: "GET",
		data,
	});
}
// 绑定车牌
export function bindMyCar(data) {
	return request({
		url: "/parking/binding-car",
		method: "POST",
		data,
	});
}
// 删除车牌
export function delMyCar(data) {
	return request({
		url: "/parking/del-car",
		method: "GET",
		data,
	});
}
